package com.hu.zhcc.shiro.entity.tj;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author tj
 * @since 2021-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TQuestionnaireAnswer extends Model<TQuestionnaireAnswer> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer tMemberId;
    private Integer tBankId;
    private Integer tQuestionnaireId;
    private String anwsers;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer gettMemberId() {
        return tMemberId;
    }

    public void settMemberId(Integer tMemberId) {
        this.tMemberId = tMemberId;
    }

    public Integer gettBankId() {
        return tBankId;
    }

    public void settBankId(Integer tBankId) {
        this.tBankId = tBankId;
    }

    public Integer gettQuestionnaireId() {
        return tQuestionnaireId;
    }

    public void settQuestionnaireId(Integer tQuestionnaireId) {
        this.tQuestionnaireId = tQuestionnaireId;
    }

    public String getAnwsers() {
        return anwsers;
    }

    public void setAnwsers(String anwsers) {
        this.anwsers = anwsers;
    }
}
